<template>
    <div class="register">
        <div class="content">
            <div class="left">
                <div class="center">
                <div class="hellow">
                    找回密码
                </div>
                <div class="username inputBox">
                    <input type="text" placeholder="您的手机号码">
                </div>
                <p class="help">
                    帮助
                </p>
                </div>
                <button class="registBtn">立即找回</button>
            </div>
        </div>
    </div>
</template>
<style lang="scss" scoped>
    .register{
        width: 100%;
        position: fixed;
        top: 0;
        bottom: 0;
        background: #eff8ff;
        // background-image: url(https://images.mafengwo.net/images/signup/wallpaper/46.jpg);
        // background-image: url(https://images.mafengwo.net/images/signup/wallpaper/14.jpg);
        background-image: url(https://images.mafengwo.net/images/signup/wallpaper/5.jpg);
        background-position: 50% 50%;
        background-size: cover;
        .content{
            width: 400px;
            border-radius: 10px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            background: #fff;
            border: 1px solid #ccc;
            overflow: hidden;
            display: flex;
            .left{
                padding: 30px 50px;
                .center{
                    width: 320px;
                .hellow{
                    width: 100%;
                    font-size: 18px;
                    font-weight: 400;
                    color: rgba(113,115,118,1);
                    margin-bottom: 30px;
                    border-bottom: 1px solid lavender;
                    padding-bottom: 20px;
                    text-align: center;
                }
                .inputBox{
                    width: 320px;
                    margin-top: 24px;
                    input{
                        width: 100%;
                        height: 46px;
                        outline: none;
                        box-sizing: border-box;
                        // border: 1px solid #cbcbcb;
                        border: none;
                        background: #f6f7f9;
                        border-radius: 3px;
                        padding: 11px 0 10px 16px;
                        font-size: 16px;
                        padding-left: 10px;
                        box-shadow: 1 1 1 1 1 red;
                        box-sizing: border-box;
                    }
                    input:focus{
                        border: 1px solid lawngreen;
                        box-shadow: 0 0 5px lawngreen;
                        outline: 0;
                    }
                }
                .help{
                    color: #333;
                    font-size: 12px;
                    float: right;
                    padding: 15px 0;
                    cursor: pointer;
                }
                .help:hover{
                    text-decoration: underline;
                    color: #000;
                }
                }
                .registBtn{
                    color: #fff;
                    background: #3b78dd;
                    font-size: 20px;
                    letter-spacing: 2.2px;
                    line-height: 45px;
                    display: block;
                    text-align: center;
                    border-radius: 5px;
                    width: 100%;
                    border: none;
                    cursor: pointer;
                }
                .toLogin{
                    font-size: 14px;
                    width: 100%;
                    text-align: center;
                    margin-top: 10px;
                    span{
                        cursor: pointer;
                        color: red;
                    }
                    :hover{
                        text-decoration: underline;
                    }
                }
            }
        }
    }
</style>
<script>
export default {
    methods:{
        toLogin(){
            this.$router.push("./Register")
        }
    }
}
</script>